﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>PDF浏览器</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<meta name="renderer" content="webkit"/>
<script type="text/javascript" src="/plugins/jquery/jquery.js"></script>
<script src="pdfobject.js"></script>
</head>
<body style="overflow: hidden;">
<div id="container-scroller">
</div>
<script type="text/javascript">
    $(function () {
        PDFObject.embed("${pdf}", "#container-scroller");
        $(window).resize(function () {
            var height = $(window).height();
            $("#container-scroller").height(height);
        });
        $(window).trigger("resize");
    });
</script>
</body>
</html>